
package kaizone.haining.chaobohui.json;

import org.json.JSONObject;

public class SubjectItem extends Item {

    public static final String WEBURL = "webUrl";
    
    public String getWebUrl() {
        return webUrl;
    }

    public void setWebUrl(String webUrl) {
        this.webUrl = webUrl;
    }
    private String webUrl;
    
    public static SubjectItem parse(JSONObject jsonObject){
        SubjectItem subjectItem = new SubjectItem();
        
        Item item = Item.parse(jsonObject);
        subjectItem.setItem(item);
        subjectItem.setWebUrl(jsonObject.optString(WEBURL));
        
        return subjectItem;
    }
    

}
